Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1754 Cannot find entry point SHOWWINDOW in the DL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00530198
Message ID:
00530218
Vues:
68
Hi Larry,

Thanks! That fixed it. I somehow got this piece of code extracted from EXE partly in uppercase and did not notice it. Still learning API...

>Hi Nick,
>It shouldn't have worked 2 days ago. Library DLLs written in C++ are case sensitive WRT to function names. The function should be ShowWindow i the declaration. After that, you can use any case to call it.
>
>>Does anybody have any hints why this code
>>
>>#DEFINE SW_SHOWMINIMIZED    2
>>DECLARE short SHOWWINDOW IN user32.DLL INTEGER HWND, INTEGER nCmdShow
>>SHOWWINDOW(THISFORM.nSHWND, SW_SHOWMINIMIZED)
>>
>>would work in EXE compiled (and many times recompiled) 2 days ago, but if I compile EXE today giving me the Error 1754 "Cannot find entry point SHOWWINDOW in the DLL" (on line SHOWWINDOW(THISFORM.nSHWND, SW_SHOWMINIMIZED) )
>>I tried to recompile the app (just one form) on 4 different PCs with Windows 2000 and NT 4 Workstation, I reinstalled VFP 6 SP4. One test PC has freshly installed OS and VFP 6 SP4. The old EXE still works fine on Windows 2000 or NT 4 on any of these PCs. The same THISFORM.nSHWND contans window handle to FP DOS 2.5 application window, and successfully used in other API calls from the same method.
>>I deleted FOXUSER.DBF, recreated the form - does not make any difference. I extracted the form from the old EXE (thanks to Yuri Rubinov and his YRECOVER utility!) and recomliled again - also gives the same error.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform