Article View: borland.public.cppbuilder.nativeapi
Article #15963Re: create a dll for siemens pcs7 wincc and load function
From: Duane Hebert
Date: Thu, 05 Jun 2003 13:15
Date: Thu, 05 Jun 2003 13:15
24 lines
1744 bytes
1744 bytes
"Phjilipp" <philipp@gmxxx.de> wrote in message news:3edf3401@newsgroups.borland.com... > Hello, > > i have to create a dll which functions will be in us ein siemens pcs7 wincc. > To load a function from a dll, my customer use following code: > > Here is an exmaple how to use pcs7 code to load a function from a dll: <snip> For Siemen's Step 7 (ET200M family with CP5613) I've taken the supplied VC dll (dplib.dll) and successfully created a static lib using implib/impdef. The reulting static lib gets loaded into the project. The DLL is in the path. It works fine. We were not able to directly use the dll. The only hassle was that in their header files they use #ifdef WIN32 and Borland uses __WIN32__. I've looked at the WinCC stuff and it seemed similar though I haven't implemented it yet.
Technical Details
Message-ID:
<3edf428b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3edf3401@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,993ccf88c4ededac X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-05 06:23:29 PST From: "Duane Hebert" <duane@nitrex.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3edf3401@newsgroups.borland.com> Subject: Re: create a dll for siemens pcs7 wincc and load function Date: Thu, 5 Jun 2003 09:15:55 -0400 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 199.243.88.188 Message-ID: <3edf428b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054818955 199.243.88.188 (5 Jun 2003 06:15:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail