Wrox Programmer Forums
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 13th, 2004, 04:04 AM
Registered User
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help Me !!!!!

Hi everybody.
I write dll in VC
One Sub :

void __stdcall WGS84TOVN99( char inStr[100], int j, char outStr[100])

        char rName[50], rIndex[50], rB[50], rL[50], rH[50];
        char oB[50], oL[50], oH[50];
        double XX1,YY1,ZZ1;
        CCalculate m_cal ;
                          char s[]="Computer";

Call it by Visual Basic
If write above and compile it program will run best.
If i repalce strcpy(outStr,inStr)-----> strcpy(outStr,s) program will be dump
I do not know why.
Help me.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.